package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.SeeListFragmentContract;
import com.zjc.yohoshop.mvp.model.SeeListFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class SeeListFragmentModules {
    private SeeListFragmentContract.SeeListFragmentIView iView;

    public SeeListFragmentModules(SeeListFragmentContract.SeeListFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public SeeListFragmentContract.SeeListFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public SeeListFragmentContract.SeeListFragmentIModel providerIModel(){
        return new SeeListFragmentModel();
    }

}
